//
//  ArticleCollectionViewCell.m
//  Koala_Fm
//
//  Created by dllo on 16/1/16.
//  Copyright © 2016年 dllo. All rights reserved.
//

#import "ArticleCollectionViewCell.h"

@implementation ArticleCollectionViewCell

- (void)dealloc
{
    [_lable release];
    [super dealloc];
}



- (instancetype)initWithFrame:(CGRect)frame{
    self = [super initWithFrame:frame];
    if (self) {
//        self.contentView.backgroundColor = [UIColor whiteColor];
        self.lable = [[UILabel alloc]init];
//        self.lable.backgroundColor = [UIColor blueColor];
        [self.contentView addSubview:_lable];
        [_lable release];
    }
    return self;
}
// 布局

- (void)applyLayoutAttributes:(UICollectionViewLayoutAttributes *)layoutAttributes{
    _lable.frame = self.contentView.frame;
    
}


@end
